package map.function;

public class Value {
    private String v;
    private static final Value defaultValue = new Value("default");
    public Value() {}
    public Value(String v) {
        this.v = v;
    }
    public String getV() {
        return v;
    }
    public static Value getDefaultV(Key key) {
        return defaultValue;
    }
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Value [v=");
        builder.append(v);
        builder.append("]");
        return builder.toString();
    }
}
